package com.ruoyi.common.config;
/**
 * AlipayConfig.java
 * com.prereadweb.order.config
 * Copyright (c) 2019, 北京聚智未来科技有限公司版权所有.
 */

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: 支付宝支付配置文件
 * @author: Administrator
 * @date: 2019/6/11 17:01
 */
@Data
@Slf4j
@Component
@ConfigurationProperties(prefix = "pay.alipay")
public class AlipayConfig {
    // APPID
    public static String app_id = "2021003105686738";
    // 生成公钥时对应的私钥（填自己的）
    public static String app_private_key="MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCXEnugiZDrc4QRw8psSJkZtgcKXU4x6uIHxfeO7lTPbtw80lVxuOH5hvnUP5KTHtkyDnolwQrEqjlsZHDqL2sIlBsZ6Bytu4ohAaNVkpU0lkYKLxg3bhLAzSbYHKE5BFBgZD6A32bcqtjU+Desf8AsD2zY1gY4K+jPNL4wPi81LvErRXKzD6GTVjgYBjurdqBiII7ya2QhNjOCv38cRgD1xzcZa0R+299Rap/fgjb1R0vMvFu2EB8XRpd97M0r3zxAN637OOKU2d2G9RbusIMK8hpj2ykMNmfvPlzjUIlnY8Fz3jjA1YXCbsseJFBPthoXRpTPMF/Uq7GWQgdnE1ELAgMBAAECggEAFMyfpr+p6zDRSxzYvsXUBl0wZPXpsSe0jPttlQktNg3+VoVi7DBXNGKn/Nfv1z+VCbZCjPYiBGenVkwR27xBkUHK5Ws2n5jFcLvn//0Ze88Av6AyRldqT48vPOvcKpx0cID8tgOMBu+iwNeX2rEQBUDubIAzBQLOn9CUKtI0765bKh0ZW99liL5PazwftUoW3S7I5BiRE1mLi8rectgzrl6UtxuVi2BMCpeUiquQloVffcpi3m3pg8XcskDtNu6f3VB/TkPovGVoZ3CWCHkeqGW7rw2R6dZ2vAyNSzowf1El5w7I74a5FDbMCTCwnGlLr3s9gEZhbneaD+zvRsNTAQKBgQDiE5NtW5ffC071lsQxzOzJ+96syU5hMPH7e+cquGkHQi1uWgroCAkXcw1XLS+biCl/DYftWMd+bE2k9o7TlKLRYpX2MP+5i3kmqbgsDBaejVd6CdeWodS1db5Ny5LMfao6DXna5Dpbh0rUQmUIN7s3jfqTuflJr65y0xUOPhgEgQKBgQCrEXIy76ltd+OeugPKyWg2X73lJJ4ZU4z3q2s7kqFLVvy+OvwE/p2vW8AvS+zi68xX9p5hr/c66Bpw+q5sq93x1THqNq7gHLHro+1K3aG4L/eglaxFvjXC2+oTPcYzWfljThYPbtD/a2eYjOjLn4PyblE5pFObzxs/ZmZHY91fiwKBgAlZMeF1xiPs/cjeASLmDGyVw7F1aY5PTdJOX1K+6WjpbaOAia7qliWoFkcikTNnQAAG+TXxU96Ab/2ATIunO8xYvUa+4/QyNkJJBlqb7VuFELb1LTsHWhpe0g25e0qFb8KSyBUrFtauE4QPcsoSM+WqM1BkglBvuVD6NYavPqMBAoGADS80CP71pO03itU1U5zAPmiUnyN6V+Nbmv8ILbg4XDEhG5w6LjxddNVyc3K7mCWqQyFLxaWlPVIEL67yYIfCfE/9H9sFEVrEz697q2h3fVWdFTBT7bAiPplqaf851l1Z3jB3fMsCqpzhiB1cF818guPDuNiUZQ7KP9Gpklj9B88CgYEA4O7uCHaMZAcgtBDl7vPC1qNDHN2HUoH8J8h0nnynbEhX7an3h3rn4HOuIazjK7BnC97Z9OCVsQYjeZYO6wCNmOZfxTktYkX6aMbkbWUE6vuCxLYimTte3l5ngUr26WQ9EAajUXdZPA2Tiz80HlYwpAMwRpa+gLrtGhDaf5ewxGY=";
    //异步回调接口:得放到服务器上，且使用域名解析 IP
    public static String notify_url = "http://yuanqu.7keyun.com/app/public/alipay/notify";
    //支付宝网关（注意沙箱alipaydev，正式则为 alipay）不需要修改https://openapi.alipay.com/gateway.do
    public static String gateway_url = "https://openapi.alipay.com/gateway.do";
    //编码类型
    public static String charset = "UTF-8";
    //数据类型
    public static String format = "json";
    // 公钥
    public static String ali_public_key="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt4xbO6yFSRlPX6690iPFh+/KKQijc5IUoSsvFilFQkSRjL4bq9SyB26PSRSDZq8r6DSg8Gy2BANe8RuR9xHw8RxMmLx7S5ZZlyc4UZqBl69cdrb2pra0V62nYrpbqvoJzNo1gPX88Fr1q45bvEGEYdmuohoLj6gKSyDTfl2/7VvAerme3vebqE04KuKA2n0dIhMToNeRk5enTcVyWs52u8jDAMeXCDodi9ac9wPzzPGjvx/1kSv4uZrruxYkqBzc/HmpRQTX+md2XPh5ytsKsBmNWwMNtzJQAFNOeu1T0qu/UcNQSCCbI/kNLsK7+ffeqry617l7Dy9NucdFCX/6YwIDAQAB";
    //签名类型
    public static String signtype = "RSA2";

}
